﻿package com.starz.games.scenes {
	import com.eaglesandcobras.games.scenes.Preloader;
	import com.gaiaframework.events.AssetEvent;
	
	public class GamePreloader extends Preloader{

		public function GamePreloader() {
			super();
		}
		
		override public function onProgress(e:AssetEvent):void
		{
			this.visible = true;
			
			content.MC_Bar.scaleX = e.perc;
			content.TXT_Overall.text = "Loading " + Math.round(e.perc * 100) + "%";
		}

	}
	
}
